<%@ page language="java" import="java.util.*"  pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn">
<head>
<base href="<c:url value='/'/>"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title>邀请码管理查看</title>
<link rel="stylesheet" href="resources/static/css/pintuer.css">
<link rel="stylesheet" href="resources/static/css/admin.css">
<script src="resources/static/js/jquery.js"></script>
<script src="resources/static/js/pintuer.js"></script>
 <script type="text/javascript">
       function move(currPage,pageSize,invid){
    	   //var pageSize=document.getElementById("pageSize").value;
    	   
    	   var url="invcode/geticregidetail?invid="+invid+"&currPage="+currPage;
    	   if(pageSize!=undefined){
    		   url+="&pageSize="+pageSize;
    	   }
    	   location.href=url;
       }
    </script>
</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head"><strong class="icon-reorder">邀请码查看</strong></div>
  <table class="table table-hover text-center">
    <tr>
      <th width="10%">序号</th>
      <th width="20%">注册人员真实姓名</th>
      <th width="30%">职务</th>
      <th width="40%">注册时间</th>
    </tr>
   
     <c:forEach items='${icRegiDetailList }' var="icdt" varStatus="status">
         <tr>
           <td>${status.index+1}</td>
           <td>${icdt.name }</td>
           <td>${icdt.job }</td>
         <td>${icdt.registertime }</td>
         </tr>
       </c:forEach>
   
      <tr>
        <td colspan="8"><div class="pagelist"> 
        <a href="javascript:move(${page.currPage-1 },${page.pageSize},${invid })">上一页</a> 
        <span class="current"><a  href="javascript:move(1,${page.pageSize},${invid })">1</a></span>
        <a href="javascript:move(2,${page.pageSize},${invid })">2</a>
        <a href="javascript:move(3,${page.pageSize},${invid })">3</a>
        <a href="javascript:move(${page.currPage+1 },${page.pageSize},${invid })">下一页</a>
        <a href="javascript:move(${page.totalPage },${page.pageSize},${invid })">尾页</a> 
        </div></td>
      </tr>
    
  </table>
</div>
</body>
</html>